<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.zust.java.bean.ProcessorView" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<%
	List<ProcessorView> list = (List<ProcessorView>) request.getSession().getAttribute("processor");
	ProcessorView processor = new ProcessorView();
	if (!list.contains(null) && !list.isEmpty()) {
		processor = list.get(0);
	}
%>
<body>
	<p>主管：<%= processor.getUsername() %></p>
	<p>车间号：<%= processor.getJobNo() %></p>
	<p>人数：<%= processor.getPersonNum() %></p>
	<p>信誉度：<%= processor.getCreditNum() %></p>
	<!-- account1 是Account类里面的account属性 -->
	<a href="back?account1=<%= request.getSession().getAttribute("account")%>&type=<%=request.getSession().getAttribute("type")%>">
		返回
	</a>
</body>
</html>